package com.ruiysoft.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruiysoft.crm.model.entity.SysUser;

import java.util.List;

/**
 * @author liuht
 * @date 2017/10/31
 */
public interface SysUserService extends IService<SysUser> {

    /**
     * 根据部门分组获取用户
     *≤
     * @return List<UserGroupByDeptVo>
     */
    List getUsersByDept();

    int getUserIdByUserName(String userName);
}